package lovo01.ATM04;

import java.io.Serializable;

/**
 * ATM用户类
 */
public class Users implements Serializable {
    /**
     * 账号
     */
    private String name;
    /**
     * 密码
     */
    private String pwd;
    /**
     * 余额
     */
    private double money;

    public Users() {
    }

    public Users(String name, String pwd, double money) {
        this.name = name;
        this.pwd = pwd;
        this.money = money;
    }


    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public String getPwd() {

        return pwd;
    }

    public void setPwd(String pwd) {

        this.pwd = pwd;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

}
